package com.xw.roomWeb.reomte;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import com.xw.roomWeb.vo.ResultDto;
import com.xw.roomWeb.vo.request.UserInfoRequestDTO;
import com.xw.roomWeb.vo.response.UserInfoResponseDTO;
/**
 * 用户服务
 * @author xiaoshengda
 *
 * @date 创建时间：2018年4月5日 下午3:30:03
 */
@FeignClient(name = "userService")
public interface UserInfoServiceR {
	@RequestMapping(value = "/user/loadById", produces = MediaType.APPLICATION_JSON_VALUE)

	public ResultDto<UserInfoResponseDTO> loadById(@RequestBody UserInfoRequestDTO userInfoRequestDTO);
	
	
	@RequestMapping(value = "/user/service/register", produces = MediaType.APPLICATION_JSON_VALUE)

	public ResultDto<?> register(@RequestBody UserInfoRequestDTO userInfoRequestDTO);

}
